<template>
    <div>
        <p>
            <!-- 绑定表达式 -->
            <!-- 课程总数：{{courses.length + '门'}} -->
            <!-- 计算属性 -->
            <!-- 课程总数：{{total}} -->
            <!-- 监听器 -->
            课程总数：{{totalCount}}
        </p>
    </div>
</template>

<script>
    export default {
        props: {
            totalCount: {
                type: String,
                required: true,
                default: function () {
                    return ''
                }
            },
        },
        
    }
</script>

<style lang="scss" scoped>

</style>